package com.wzcl.app.dao.repository;

import com.wzcl.app.dao.model.HomeMassage;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface HomeMassageRepository extends JpaRepository<HomeMassage,Integer>, JpaSpecificationExecutor<HomeMassage> {

    List<HomeMassage> findAllByTypeAndGroupName(String type, String groupName);

}
